#include <stdio.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(void)
 {
 	char ch;
 	printf ("Please enter a character.\n");
 	scanf("%c",&ch);
 	printf ("The code for %c is %d.\n",ch,ch);
 	
	return 0;
}
